-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CI job for Flutter Android App #158
Conversation
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
ea8a511
to
cf6998b
Compare
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
e26fbf3
to
7bdd285
Compare
@anhappdev I disabled docker buildkit for Flutter CI because for some reason it often partially rebuilds the image even when nothing changed in the dockerfile and in docker build context. |
Which docker version is used by the CI? |
Version of docker in CGP is 19.03.9, so we probably see this bug you linked. |
docker/android/apk: android/docker/image | ||
@# if the build fails with java.io.IOException: Input/output error | ||
@# remove file android/gradle/wrapper/gradle-wrapper.jar | ||
MSYS2_ARG_CONV_EXCL="*" docker run --rm -it --user `id -u`:`id -g` -v $(CURDIR)/..:/mnt/project mlcommons/mlperf_mobile_flutter bash -c "cd /mnt/project/flutter && make prepare-flutter && make android/apk" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command doesn't utilize bazel cache.
I consider this command a proof that the docker container works both on CI and locally, and not a command that people should actually use to build the app.
A plan to add cache support while refactoring makefiles for #112.
Closes #110